package com.xuexisheqv.auth.domain.convert;

import com.xuexisheqv.auth.domain.entity.AuthPermissionBO;
import com.xuexisheqv.auth.domain.entity.AuthRolePremissionBO;
import com.xuexisheqv.auth.infra.basic.entity.AuthPermission;
import com.xuexisheqv.auth.infra.basic.entity.AuthRolePremission;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

/**
 * 角色 BO 转换器
 */
@Mapper
public interface AuthRolePermissionBOConverter {
    AuthRolePermissionBOConverter INSTANCE = Mappers.getMapper(AuthRolePermissionBOConverter.class);

    AuthRolePremission convertBoToEntity(AuthRolePremissionBO authRolePremissionBO);

}
